var serveStatic = require('serve-static')
  , path = require('path');

function setCrossOriginHeader(res, path, stat) {
  res.setHeader('Access-Control-Allow-Origin', '*');
}

module.exports = function (server) {
  server.use(serveStatic(path.join(__dirname, '..', '..', 'assets')));
  server.use(serveStatic(path.join(__dirname, '..', '..', 'node_modules/fed-lib/assets')));
};
